package com.itheima.oopadvanced.modifier;

import com.itheima.oopadvanced.modifier.package1.Demo2;

/**
 * @author Anomaly
 * @date 2022/12/19 17:26
 */
public class Test2 extends Demo2 {
    public static void main(String[] args) {
        System.out.println(Demo2.name1);
        System.out.println(Demo2.name2);
//        System.out.println(Demo2.name3);
    }
}
